from matplotlib import pyplot as plt

#同时显示两个不同的数据变化
y1 = [0.898,0.902,0.900,0.898,0.901,0.894,0.902,0.901,0.902,0.903,0.901,0.903,0.901,0.903,0.902,0.904,0.902,0.903,0.903,0.903,
      0.902,0.903,0.901,0.900,0.902,0.902,0.903,0.904,0.903,0.901,0.900,0.902,0.901,0.903,0.905,0.902,0.902,0.901,0.903,0.904,
      0.900,0.902,0.900,0.901,0.903,0.904,0.902,0.902,0.902,0.903]
y2 = [0.898,0.901,0.902,0.897,0.901,0.902,0.899,0.905,0.904,0.903,0.901,0.901,0.904,0.900,0.902,0.903,0.901,0.901,0.904,0.901,
      0.904,0.902,0.902,0.904,0.902,0.902,0.899,0.897,0.898,0.904,0.899,0.900,0.901,0.901,0.899,0.902,0.904,0.903,0.902,0.898,
      0.901,0.902,0.901,0.901,0.902,0.902,0.900,0.900,0.896,0.900]
# y3 = [0.020,0.086,0.151,0.102,0.069,0.110,0.078,0.132,0.140,0.142,0.130,0.134,0.112,0.108,0.116,0.144,0.128,0.129,0.126,0.110,
#       0.123,0.119,0.142,0.140,0.144,0.133,0.153,0.155,0.144,0.158,0.154,0.128,0.128,0.080,0.150,0.147,0.155,0.161,0.166,0.160,
#       # 0.158,0.162,0.157,0.165,0.162,0.166,0.167,0.166,0.166,0.164]
y3 = [0.885,0.897,0.899,0.893,0.897,0.899,0.892, 0.895, 0.893, 0.896, 0.896, 0.888, 0.896, 0.895, 0.895, 0.894, 0.894,
      0.894, 0.891, 0.899, 0.896, 0.898, 0.892, 0.896, 0.896, 0.901, 0.896, 0.893, 0.897, 0.891, 0.898, 0.896, 0.895, 0.897,
      0.9, 0.895, 0.894, 0.895, 0.894, 0.894, 0.894, 0.894, 0.894, 0.894, 0.894, 0.893, 0.894, 0.894, 0.894, 0.894]
y4 = [0.7, 0.68, 0.668, 0.797, 0.766, 0.713, 0.801, 0.671, 0.764, 0.778, 0.781, 0.79, 0.761, 0.826, 0.793, 0.831, 0.8, 0.771, 0.786, 0.756, 0.793, 0.841, 0.825, 0.768, 0.8, 0.796, 0.784, 0.738, 0.78, 0.798, 0.849, 0.83, 0.766, 0.796, 0.798, 0.82, 0.818, 0.775, 0.808, 0.808, 0.814, 0.795, 0.807, 0.815, 0.808, 0.809, 0.811, 0.803, 0.806, 0.807]
# y5 =
######################################################################################3
y5 = [0.885, 0.897, 0.891, 0.905, 0.901, 0.891, 0.896, 0.899, 0.898, 0.901, 0.9, 0.897, 0.897, 0.9, 0.896, 0.899, 0.904, 0.899, 0.901, 0.899, 0.9, 0.9, 0.9, 0.9, 0.901, 0.9, 0.901, 0.9, 0.901, 0.9]
y6 = [0.869, 0.889, 0.901, 0.899, 0.9, 0.897, 0.89, 0.896, 0.899, 0.896, 0.897, 0.888, 0.896, 0.895, 0.895, 0.889, 0.896, 0.898, 0.895, 0.896, 0.897, 0.898, 0.899, 0.896, 0.896, 0.897, 0.895, 0.896, 0.896, 0.896]
y7 = [0.797, 0.859, 0.865, 0.889, 0.885, 0.891, 0.879, 0.888, 0.892, 0.876, 0.886, 0.89, 0.889, 0.878, 0.884, 0.881, 0.88, 0.889, 0.884, 0.887, 0.885, 0.884, 0.883, 0.878, 0.883, 0.884, 0.883, 0.883, 0.884, 0.885]
y8 = [0.854, 0.894, 0.895, 0.896, 0.891, 0.89, 0.884, 0.886, 0.893, 0.88, 0.892, 0.886, 0.886, 0.894, 0.887, 0.892, 0.889, 0.891, 0.891, 0.895, 0.893, 0.895, 0.894, 0.895, 0.894, 0.894, 0.894, 0.895, 0.897, 0.897]
y9 = [0.7, 0.74, 0.74, 0.793, 0.75, 0.725, 0.758, 0.746, 0.775, 0.775, 0.773, 0.791, 0.81, 0.756, 0.806, 0.813, 0.8, 0.761, 0.808, 0.793, 0.816, 0.816, 0.808, 0.814, 0.809, 0.806, 0.82, 0.813, 0.823, 0.821]


x = range(30)

plt.figure(figsize=(80,8))

# plt.plot(x,y1)#,label="Cascade R-CNN+FPN")
# plt.plot(x,y2)#,label="Faster R-CNN+FPN")
# plt.plot(x,y3)#,label="RetinaNet+FPN")
# plt.plot(x,y4)#,label="SSD+FPN")
# plt.plot(x,y5)#,label="cascade")
# plt.plot(x,y6)#,label="faster rcnn")
# plt.plot(x,y7)#,label="fcos")
# plt.plot(x,y8)#,label="retinanet")
plt.plot(x,y9)#,label="SSD")


plt.legend()

plt.show()
